[INFO] cloning repository https://github.com/jessegrosjean/libripgrep_example
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jessegrosjean/libripgrep_example" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjessegrosjean%2Flibripgrep_example", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjessegrosjean%2Flibripgrep_example'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 1ef008fc9f8949415e275aac61f77baf9ac46f71
[INFO] checking jessegrosjean/libripgrep_example against try#163937523761cc0def32f1ba9ed63fdf65ad3478 for pr-156749
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjessegrosjean%2Flibripgrep_example" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/jessegrosjean/libripgrep_example
[INFO] finished tweaking git repo https://github.com/jessegrosjean/libripgrep_example
[INFO] tweaked toml for git repo https://github.com/jessegrosjean/libripgrep_example written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/jessegrosjean/libripgrep_example on toolchain 163937523761cc0def32f1ba9ed63fdf65ad3478
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+163937523761cc0def32f1ba9ed63fdf65ad3478" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/jessegrosjean/libripgrep_example already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+163937523761cc0def32f1ba9ed63fdf65ad3478" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr] warning: `libripgrep_example` (manifest) generated 1 warning
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3e793bdf10248eb2ddbd6b0faebed8155c11b4589982e2893733958d93e8d540" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 7f18d2d5e4cf8aaf149d457259230724372bd4a1cd4c58a3d9f54f157aeca623
[INFO] running `Command { std: "docker" "start" "7f18d2d5e4cf8aaf149d457259230724372bd4a1cd4c58a3d9f54f157aeca623", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "7f18d2d5e4cf8aaf149d457259230724372bd4a1cd4c58a3d9f54f157aeca623" "/opt/rustwide/cargo-home/bin/cargo" "+163937523761cc0def32f1ba9ed63fdf65ad3478" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "7f18d2d5e4cf8aaf149d457259230724372bd4a1cd4c58a3d9f54f157aeca623", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "7f18d2d5e4cf8aaf149d457259230724372bd4a1cd4c58a3d9f54f157aeca623" "/opt/rustwide/cargo-home/bin/cargo" "+163937523761cc0def32f1ba9ed63fdf65ad3478" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr] warning: Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr] warning: `libripgrep_example` (manifest) generated 1 warning
[INFO] [stderr]     Checking libc v0.2.43
[INFO] [stderr]     Checking cfg-if v0.1.4
[INFO] [stderr]    Compiling version_check v0.1.4
[INFO] [stderr]     Checking void v1.0.2
[INFO] [stderr]    Compiling regex v1.0.2
[INFO] [stderr]     Checking scopeguard v0.3.3
[INFO] [stderr]     Checking ucd-util v0.1.1
[INFO] [stderr]    Compiling unicode-xid v0.1.0
[INFO] [stderr]     Checking log v0.4.3
[INFO] [stderr]     Checking unreachable v1.0.0
[INFO] [stderr]    Compiling proc-macro2 v0.4.9
[INFO] [stderr]     Checking stable_deref_trait v1.1.1
[INFO] [stderr]     Checking regex-syntax v0.6.2
[INFO] [stderr]    Compiling serde v1.0.71
[INFO] [stderr]     Checking utf8-ranges v1.0.0
[INFO] [stderr]     Checking nodrop v0.1.12
[INFO] [stderr]     Checking arrayvec v0.4.7
[INFO] [stderr]     Checking owning_ref v0.3.3
[INFO] [stderr]     Checking smallvec v0.6.4
[INFO] [stderr]     Checking encoding_rs v0.8.4
[INFO] [stderr]    Compiling lazy_static v1.1.0
[INFO] [stderr]     Checking memoffset v0.2.1
[INFO] [stderr]     Checking crossbeam-utils v0.5.0
[INFO] [stderr]     Checking memchr v2.0.1
[INFO] [stderr]     Checking thread_local v0.3.5
[INFO] [stderr]     Checking rand v0.4.2
[INFO] [stderr]     Checking crossbeam-epoch v0.5.2
[INFO] [stderr]     Checking memmap v0.6.2
[INFO] [stderr]     Checking aho-corasick v0.6.6
[INFO] [stderr]    Compiling quote v0.6.5
[INFO] [stderr]     Checking grep-matcher v0.0.1 (/opt/rustwide/workdir/crates/grep-matcher)
[INFO] [stderr]    Compiling syn v0.14.7
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]    --> crates/grep-matcher/src/interpolate.rs:137:14
[INFO] [stdout]     |
[INFO] [stdout] 137 |         b'0' ... b'9' | b'a' ... b'z' | b'A' ... b'Z' | b'_' => true,
[INFO] [stdout]     |              ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]     = note: `#[warn(ellipsis_inclusive_range_patterns)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]    --> crates/grep-matcher/src/interpolate.rs:137:30
[INFO] [stdout]     |
[INFO] [stdout] 137 |         b'0' ... b'9' | b'a' ... b'z' | b'A' ... b'Z' | b'_' => true,
[INFO] [stdout]     |                              ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]    --> crates/grep-matcher/src/interpolate.rs:137:46
[INFO] [stdout]     |
[INFO] [stdout] 137 |         b'0' ... b'9' | b'a' ... b'z' | b'A' ... b'Z' | b'_' => true,
[INFO] [stdout]     |                                              ^^^ help: use `..=` for an inclusive range
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Checking lock_api v0.1.3
[INFO] [stderr]     Checking rand_core v0.2.1
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> crates/grep-matcher/src/interpolate.rs:95:30
[INFO] [stdout]    |
[INFO] [stdout] 95 | fn find_cap_ref(replacement: &[u8]) -> Option<CaptureRef> {
[INFO] [stdout]    |                              ^^^^^            ^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                              |
[INFO] [stdout]    |                              the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 95 | fn find_cap_ref(replacement: &[u8]) -> Option<CaptureRef<'_>> {
[INFO] [stdout]    |                                                         ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Checking itoa v0.4.2
[INFO] [stderr]     Checking bytecount v0.3.2
[INFO] [stderr]     Checking dtoa v0.4.3
[INFO] [stderr]     Checking safemem v0.2.0
[INFO] [stderr]     Checking byteorder v1.2.4
[INFO] [stderr]     Checking rand v0.5.5
[INFO] [stderr]     Checking same-file v1.0.2
[INFO] [stderr]     Checking parking_lot_core v0.2.14
[INFO] [stderr]     Checking fnv v1.0.6
[INFO] [stderr]     Checking base64 v0.9.2
[INFO] [stderr]     Checking termcolor v1.0.1
[INFO] [stderr]     Checking parking_lot v0.6.3
[INFO] [stderr]     Checking walkdir v2.2.0
[INFO] [stderr]     Checking crossbeam-deque v0.5.2
[INFO] [stderr]     Checking encoding_rs_io v0.1.1
[INFO] [stderr]     Checking crossbeam v0.3.2
[INFO] [stderr]     Checking grep-searcher v0.0.1 (/opt/rustwide/workdir/crates/grep-searcher)
[INFO] [stderr]     Checking num_cpus v1.8.0
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> crates/grep-searcher/src/sink.rs:53:58
[INFO] [stdout]    |
[INFO] [stdout] 53 |     fn error_message<T: fmt::Display>(message: T) -> Box<::std::error::Error> {
[INFO] [stdout]    |                                                          ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 53 |     fn error_message<T: fmt::Display>(message: T) -> Box<dyn (::std::error::Error)> {
[INFO] [stdout]    |                                                          +++++                   +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> crates/grep-searcher/src/sink.rs:52:24
[INFO] [stdout]    |
[INFO] [stdout] 52 | impl SinkError for Box<::std::error::Error> {
[INFO] [stdout]    |                        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 52 | impl SinkError for Box<dyn (::std::error::Error)> {
[INFO] [stdout]    |                        +++++                   +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> crates/grep-searcher/src/sink.rs:54:15
[INFO] [stdout]    |
[INFO] [stdout] 54 |         Box::<::std::error::Error>::from(message.to_string())
[INFO] [stdout]    |               ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 54 |         Box::<dyn (::std::error::Error)>::from(message.to_string())
[INFO] [stdout]    |               +++++                   +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `config` is never read
[INFO] [stdout]   --> crates/grep-searcher/src/searcher/glue.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub struct ReadByLine<'s, M: 's, R, S> {
[INFO] [stdout]    |            ---------- field in this struct
[INFO] [stdout] 14 |     config: &'s Config,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ReadByLine` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `config` is never read
[INFO] [stdout]   --> crates/grep-searcher/src/searcher/glue.rs:78:5
[INFO] [stdout]    |
[INFO] [stdout] 77 | pub struct SliceByLine<'s, M: 's, S> {
[INFO] [stdout]    |            ----------- field in this struct
[INFO] [stdout] 78 |     config: &'s Config,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `SliceByLine` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `line_term` is never read
[INFO] [stdout]    --> crates/grep-searcher/src/sink.rs:346:16
[INFO] [stdout]     |
[INFO] [stdout] 345 | pub struct SinkContext<'b> {
[INFO] [stdout]     |            ----------- field in this struct
[INFO] [stdout] 346 |     pub(crate) line_term: LineTerminator,
[INFO] [stdout]     |                ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `SinkContext` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Checking crossbeam-channel v0.2.4
[INFO] [stderr]     Checking crossbeam v0.4.1
[INFO] [stderr]     Checking grep-regex v0.0.1 (/opt/rustwide/workdir/crates/grep-regex)
[INFO] [stderr]     Checking globset v0.4.1 (/opt/rustwide/workdir/crates/globset)
[INFO] [stderr]    Compiling serde_derive v1.0.71
[INFO] [stdout] warning: field `pat` is never read
[INFO] [stdout]    --> crates/globset/src/glob.rs:110:5
[INFO] [stdout]     |
[INFO] [stdout] 108 | pub struct GlobMatcher {
[INFO] [stdout]     |            ----------- field in this struct
[INFO] [stdout] 109 |     /// The underlying pattern.
[INFO] [stdout] 110 |     pat: Glob,
[INFO] [stdout]     |     ^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `GlobMatcher` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> crates/globset/src/pathutil.rs:57:28
[INFO] [stdout]    |
[INFO] [stdout] 57 | pub fn file_name_ext(name: &OsStr) -> Option<Cow<[u8]>> {
[INFO] [stdout]    |                            ^^^^^^            ^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                            |
[INFO] [stdout]    |                            the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 57 | pub fn file_name_ext(name: &OsStr) -> Option<Cow<'_, [u8]>> {
[INFO] [stdout]    |                                                  +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> crates/globset/src/pathutil.rs:82:25
[INFO] [stdout]    |
[INFO] [stdout] 82 | pub fn path_bytes(path: &Path) -> Cow<[u8]> {
[INFO] [stdout]    |                         ^^^^^     ^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                         |
[INFO] [stdout]    |                         the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 82 | pub fn path_bytes(path: &Path) -> Cow<'_, [u8]> {
[INFO] [stdout]    |                                       +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> crates/globset/src/pathutil.rs:88:24
[INFO] [stdout]    |
[INFO] [stdout] 88 | pub fn os_str_bytes(s: &OsStr) -> Cow<[u8]> {
[INFO] [stdout]    |                        ^^^^^^     ^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                        |
[INFO] [stdout]    |                        the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 88 | pub fn os_str_bytes(s: &OsStr) -> Cow<'_, [u8]> {
[INFO] [stdout]    |                                       +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Checking ignore v0.4.3 (/opt/rustwide/workdir/crates/ignore)
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> crates/ignore/src/walk.rs:464:9
[INFO] [stdout]     |
[INFO] [stdout] 464 |         Fn(&OsStr, &OsStr) -> cmp::Ordering + Send + Sync + 'static
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]     = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 464 |         dyn Fn(&OsStr, &OsStr) -> cmp::Ordering + Send + Sync + 'static
[INFO] [stdout]     |         +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]     --> crates/ignore/src/walk.rs:1101:12
[INFO] [stdout]      |
[INFO] [stdout] 1101 |     f: Box<FnMut(Result<DirEntry, Error>) -> WalkState + Send + 'static>,
[INFO] [stdout]      |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]      = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]      |
[INFO] [stdout] 1101 |     f: Box<dyn FnMut(Result<DirEntry, Error>) -> WalkState + Send + 'static>,
[INFO] [stdout]      |            +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> crates/ignore/src/walk.rs:956:31
[INFO] [stdout]     |
[INFO] [stdout] 956 |     ) where F: FnMut() -> Box<FnMut(Result<DirEntry, Error>) -> WalkState + Send + 'static> {
[INFO] [stdout]     |                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 956 |     ) where F: FnMut() -> Box<dyn FnMut(Result<DirEntry, Error>) -> WalkState + Send + 'static> {
[INFO] [stdout]     |                               +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `core::str::<impl str>::trim_right`: superseded by `trim_end`
[INFO] [stdout]    --> crates/ignore/src/gitignore.rs:426:25
[INFO] [stdout]     |
[INFO] [stdout] 426 |             line = line.trim_right();
[INFO] [stdout]     |                         ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] help: replace the use of the deprecated method
[INFO] [stdout]     |
[INFO] [stdout] 426 -             line = line.trim_right();
[INFO] [stdout] 426 +             line = line.trim_end();
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]    --> crates/ignore/src/lib.rs:271:58
[INFO] [stdout]     |
[INFO] [stdout] 271 |             Error::WithLineNumber { ref err, .. } => err.description(),
[INFO] [stdout]     |                                                          ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]    --> crates/ignore/src/lib.rs:272:52
[INFO] [stdout]     |
[INFO] [stdout] 272 |             Error::WithPath { ref err, .. } => err.description(),
[INFO] [stdout]     |                                                    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]    --> crates/ignore/src/lib.rs:273:53
[INFO] [stdout]     |
[INFO] [stdout] 273 |             Error::WithDepth { ref err, .. } => err.description(),
[INFO] [stdout]     |                                                     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]    --> crates/ignore/src/lib.rs:275:39
[INFO] [stdout]     |
[INFO] [stdout] 275 |             Error::Io(ref err) => err.description(),
[INFO] [stdout]     |                                       ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> crates/ignore/src/dir.rs:30:28
[INFO] [stdout]    |
[INFO] [stdout] 30 | pub struct IgnoreMatch<'a>(IgnoreMatchInner<'a>);
[INFO] [stdout]    |            -----------     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |            |
[INFO] [stdout]    |            field in this struct
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider removing this field
[INFO] [stdout]    = note: `IgnoreMatch` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> crates/ignore/src/dir.rs:36:14
[INFO] [stdout]    |
[INFO] [stdout] 36 |     Override(overrides::Glob<'a>),
[INFO] [stdout]    |     -------- ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `IgnoreMatchInner` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 36 -     Override(overrides::Glob<'a>),
[INFO] [stdout] 36 +     Override(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> crates/ignore/src/dir.rs:37:15
[INFO] [stdout]    |
[INFO] [stdout] 37 |     Gitignore(&'a gitignore::Glob),
[INFO] [stdout]    |     --------- ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `IgnoreMatchInner` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 37 -     Gitignore(&'a gitignore::Glob),
[INFO] [stdout] 37 +     Gitignore(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> crates/ignore/src/dir.rs:38:11
[INFO] [stdout]    |
[INFO] [stdout] 38 |     Types(types::Glob<'a>),
[INFO] [stdout]    |     ----- ^^^^^^^^^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `IgnoreMatchInner` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 38 -     Types(types::Glob<'a>),
[INFO] [stdout] 38 +     Types(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> crates/ignore/src/overrides.rs:24:21
[INFO] [stdout]    |
[INFO] [stdout] 24 | pub struct Glob<'a>(GlobInner<'a>);
[INFO] [stdout]    |            ----     ^^^^^^^^^^^^^
[INFO] [stdout]    |            |
[INFO] [stdout]    |            field in this struct
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider removing this field
[INFO] [stdout]    = note: `Glob` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> crates/ignore/src/overrides.rs:31:13
[INFO] [stdout]    |
[INFO] [stdout] 31 |     Matched(&'a gitignore::Glob),
[INFO] [stdout]    |     ------- ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `GlobInner` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 31 -     Matched(&'a gitignore::Glob),
[INFO] [stdout] 31 +     Matched(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]    --> crates/ignore/src/types.rs:320:21
[INFO] [stdout]     |
[INFO] [stdout] 320 | pub struct Glob<'a>(GlobInner<'a>);
[INFO] [stdout]     |            ----     ^^^^^^^^^^^^^
[INFO] [stdout]     |            |
[INFO] [stdout]     |            field in this struct
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider removing this field
[INFO] [stdout]     = note: `Glob` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `def`, `which`, and `negated` are never read
[INFO] [stdout]    --> crates/ignore/src/types.rs:329:9
[INFO] [stdout]     |
[INFO] [stdout] 327 |     Matched {
[INFO] [stdout]     |     ------- fields in this variant
[INFO] [stdout] 328 |         /// The file type definition which provided the glob.
[INFO] [stdout] 329 |         def: &'a FileTypeDef,
[INFO] [stdout]     |         ^^^
[INFO] [stdout] 330 |         /// The index of the glob that matched inside the file type definition.
[INFO] [stdout] 331 |         which: usize,
[INFO] [stdout]     |         ^^^^^
[INFO] [stdout] 332 |         /// Whether the selection was negated or not.
[INFO] [stdout] 333 |         negated: bool,
[INFO] [stdout]     |         ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `GlobInner` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> crates/ignore/src/dir.rs:420:20
[INFO] [stdout]     |
[INFO] [stdout] 420 |     pub fn parents(&self) -> Parents {
[INFO] [stdout]     |                    ^^^^^     ^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                    |
[INFO] [stdout]     |                    the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]     = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 420 |     pub fn parents(&self) -> Parents<'_> {
[INFO] [stdout]     |                                     ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Checking serde_json v1.0.24
[INFO] [stderr]     Checking grep-printer v0.0.1 (/opt/rustwide/workdir/crates/grep-printer)
[INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy`
[INFO] [stdout]   --> crates/grep-printer/src/jsont.rs:18:10
[INFO] [stdout]    |
[INFO] [stdout] 18 | #[derive(Serialize)]
[INFO] [stdout]    |          ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected values for `feature` are: `base64`, `default`, `serde`, `serde1`, `serde_derive`, and `serde_json`
[INFO] [stdout]    = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate
[INFO] [stdout]    = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]    = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stdout]    = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy`
[INFO] [stdout]   --> crates/grep-printer/src/jsont.rs:28:10
[INFO] [stdout]    |
[INFO] [stdout] 28 | #[derive(Serialize)]
[INFO] [stdout]    |          ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected values for `feature` are: `base64`, `default`, `serde`, `serde1`, `serde_derive`, and `serde_json`
[INFO] [stdout]    = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate
[INFO] [stdout]    = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]    = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy`
[INFO] [stdout]   --> crates/grep-printer/src/jsont.rs:34:10
[INFO] [stdout]    |
[INFO] [stdout] 34 | #[derive(Serialize)]
[INFO] [stdout]    |          ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected values for `feature` are: `base64`, `default`, `serde`, `serde1`, `serde_derive`, and `serde_json`
[INFO] [stdout]    = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate
[INFO] [stdout]    = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]    = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy`
[INFO] [stdout]   --> crates/grep-printer/src/jsont.rs:42:10
[INFO] [stdout]    |
[INFO] [stdout] 42 | #[derive(Serialize)]
[INFO] [stdout]    |          ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected values for `feature` are: `base64`, `default`, `serde`, `serde1`, `serde_derive`, and `serde_json`
[INFO] [stdout]    = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate
[INFO] [stdout]    = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]    = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy`
[INFO] [stdout]   --> crates/grep-printer/src/jsont.rs:53:10
[INFO] [stdout]    |
[INFO] [stdout] 53 | #[derive(Serialize)]
[INFO] [stdout]    |          ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected values for `feature` are: `base64`, `default`, `serde`, `serde1`, `serde_derive`, and `serde_json`
[INFO] [stdout]    = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate
[INFO] [stdout]    = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]    = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy`
[INFO] [stdout]   --> crates/grep-printer/src/jsont.rs:64:10
[INFO] [stdout]    |
[INFO] [stdout] 64 | #[derive(Serialize)]
[INFO] [stdout]    |          ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected values for `feature` are: `base64`, `default`, `serde`, `serde1`, `serde_derive`, and `serde_json`
[INFO] [stdout]    = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate
[INFO] [stdout]    = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]    = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy`
[INFO] [stdout]   --> crates/grep-printer/src/jsont.rs:80:45
[INFO] [stdout]    |
[INFO] [stdout] 80 | #[derive(Clone, Debug, Hash, PartialEq, Eq, Serialize)]
[INFO] [stdout]    |                                             ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected values for `feature` are: `base64`, `default`, `serde`, `serde1`, `serde_derive`, and `serde_json`
[INFO] [stdout]    = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate
[INFO] [stdout]    = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]    = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy`
[INFO] [stdout]   --> crates/grep-printer/src/stats.rs:11:39
[INFO] [stdout]    |
[INFO] [stdout] 11 | #[cfg_attr(feature = "serde1", derive(Serialize))]
[INFO] [stdout]    |                                       ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected values for `feature` are: `base64`, `default`, `serde`, `serde1`, `serde_derive`, and `serde_json`
[INFO] [stdout]    = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate
[INFO] [stdout]    = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]    = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> crates/grep-printer/src/standard.rs:1105:17
[INFO] [stdout]      |
[INFO] [stdout] 1105 |             let mut m = m;
[INFO] [stdout]      |                 ----^
[INFO] [stdout]      |                 |
[INFO] [stdout]      |                 help: remove this `mut`
[INFO] [stdout]      |
[INFO] [stdout]      = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> crates/grep-printer/src/json.rs:802:17
[INFO] [stdout]     |
[INFO] [stdout] 802 |     fn as_slice(&self) -> &[jsont::SubMatch] {
[INFO] [stdout]     |                 ^^^^^     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |                 |         | |
[INFO] [stdout]     |                 |         | the same lifetime is hidden here
[INFO] [stdout]     |                 |         the same lifetime is elided here
[INFO] [stdout]     |                 the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]     = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 802 |     fn as_slice(&self) -> &[jsont::SubMatch<'_>] {
[INFO] [stdout]     |                                            ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> crates/grep-printer/src/jsont.rs:18:10
[INFO] [stdout]    |
[INFO] [stdout] 18 | #[derive(Serialize)]
[INFO] [stdout]    |          -^^^^^^^^
[INFO] [stdout]    |          |
[INFO] [stdout]    |          `Message` is not local
[INFO] [stdout]    |          `Serialize` is not local
[INFO] [stdout]    |          move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Message`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: `#[warn(non_local_definitions)]` on by default
[INFO] [stdout]    = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> crates/grep-printer/src/jsont.rs:28:10
[INFO] [stdout]    |
[INFO] [stdout] 28 | #[derive(Serialize)]
[INFO] [stdout]    |          -^^^^^^^^
[INFO] [stdout]    |          |
[INFO] [stdout]    |          `Begin` is not local
[INFO] [stdout]    |          `Serialize` is not local
[INFO] [stdout]    |          move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Begin`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> crates/grep-printer/src/jsont.rs:34:10
[INFO] [stdout]    |
[INFO] [stdout] 34 | #[derive(Serialize)]
[INFO] [stdout]    |          -^^^^^^^^
[INFO] [stdout]    |          |
[INFO] [stdout]    |          `End` is not local
[INFO] [stdout]    |          `Serialize` is not local
[INFO] [stdout]    |          move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_End`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> crates/grep-printer/src/jsont.rs:42:10
[INFO] [stdout]    |
[INFO] [stdout] 42 | #[derive(Serialize)]
[INFO] [stdout]    |          -^^^^^^^^
[INFO] [stdout]    |          |
[INFO] [stdout]    |          `Match` is not local
[INFO] [stdout]    |          `Serialize` is not local
[INFO] [stdout]    |          move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Match`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> crates/grep-printer/src/jsont.rs:53:10
[INFO] [stdout]    |
[INFO] [stdout] 53 | #[derive(Serialize)]
[INFO] [stdout]    |          -^^^^^^^^
[INFO] [stdout]    |          |
[INFO] [stdout]    |          `Context` is not local
[INFO] [stdout]    |          `Serialize` is not local
[INFO] [stdout]    |          move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Context`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> crates/grep-printer/src/jsont.rs:64:10
[INFO] [stdout]    |
[INFO] [stdout] 64 | #[derive(Serialize)]
[INFO] [stdout]    |          -^^^^^^^^
[INFO] [stdout]    |          |
[INFO] [stdout]    |          `SubMatch` is not local
[INFO] [stdout]    |          `Serialize` is not local
[INFO] [stdout]    |          move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_SubMatch`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> crates/grep-printer/src/jsont.rs:80:45
[INFO] [stdout]    |
[INFO] [stdout] 80 | #[derive(Clone, Debug, Hash, PartialEq, Eq, Serialize)]
[INFO] [stdout]    |                                             -^^^^^^^^
[INFO] [stdout]    |                                             |
[INFO] [stdout]    |                                             `Data` is not local
[INFO] [stdout]    |                                             `Serialize` is not local
[INFO] [stdout]    |                                             move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Data`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> crates/grep-printer/src/jsont.rs:91:26
[INFO] [stdout]    |
[INFO] [stdout] 91 |     fn from_bytes(bytes: &[u8]) -> Data {
[INFO] [stdout]    |                          ^^^^^     ^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                          |
[INFO] [stdout]    |                          the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 91 |     fn from_bytes(bytes: &[u8]) -> Data<'_> {
[INFO] [stdout]    |                                        ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> crates/grep-printer/src/jsont.rs:99:24
[INFO] [stdout]    |
[INFO] [stdout] 99 |     fn from_path(path: &Path) -> Data {
[INFO] [stdout]    |                        ^^^^^     ^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                        |
[INFO] [stdout]    |                        the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 99 |     fn from_path(path: &Path) -> Data<'_> {
[INFO] [stdout]    |                                      ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> crates/grep-printer/src/stats.rs:11:39
[INFO] [stdout]    |
[INFO] [stdout] 11 | #[cfg_attr(feature = "serde1", derive(Serialize))]
[INFO] [stdout]    |                                       ^^^^^^^^^
[INFO] [stdout]    |                                       |
[INFO] [stdout]    |                                       `Stats` is not local
[INFO] [stdout]    |                                       `Serialize` is not local
[INFO] [stdout]    |                                       move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Stats`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Checking grep v0.2.0 (/opt/rustwide/workdir/crates/grep)
[INFO] [stderr]     Checking libripgrep_example v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]   --> src/main.rs:43:55
[INFO] [stdout]    |
[INFO] [stdout] 43 | pub fn scan_path(pattern: &str, path: &str) -> Result<(Vec<FileMatch>), Box<Error>> {
[INFO] [stdout]    |                                                       ^              ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 43 - pub fn scan_path(pattern: &str, path: &str) -> Result<(Vec<FileMatch>), Box<Error>> {
[INFO] [stdout] 43 + pub fn scan_path(pattern: &str, path: &str) -> Result<Vec<FileMatch> , Box<Error>> {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/main.rs:43:77
[INFO] [stdout]    |
[INFO] [stdout] 43 | pub fn scan_path(pattern: &str, path: &str) -> Result<(Vec<FileMatch>), Box<Error>> {
[INFO] [stdout]    |                                                                             ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 43 | pub fn scan_path(pattern: &str, path: &str) -> Result<(Vec<FileMatch>), Box<dyn Error>> {
[INFO] [stdout]    |                                                                             +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]   --> src/main.rs:43:55
[INFO] [stdout]    |
[INFO] [stdout] 43 | pub fn scan_path(pattern: &str, path: &str) -> Result<(Vec<FileMatch>), Box<Error>> {
[INFO] [stdout]    |                                                       ^              ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 43 - pub fn scan_path(pattern: &str, path: &str) -> Result<(Vec<FileMatch>), Box<Error>> {
[INFO] [stdout] 43 + pub fn scan_path(pattern: &str, path: &str) -> Result<Vec<FileMatch> , Box<Error>> {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/main.rs:43:77
[INFO] [stdout]    |
[INFO] [stdout] 43 | pub fn scan_path(pattern: &str, path: &str) -> Result<(Vec<FileMatch>), Box<Error>> {
[INFO] [stdout]    |                                                                             ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 43 | pub fn scan_path(pattern: &str, path: &str) -> Result<(Vec<FileMatch>), Box<dyn Error>> {
[INFO] [stdout]    |                                                                             +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 21.65s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: syn v0.14.7
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1`
[INFO] running `Command { std: "docker" "inspect" "7f18d2d5e4cf8aaf149d457259230724372bd4a1cd4c58a3d9f54f157aeca623", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7f18d2d5e4cf8aaf149d457259230724372bd4a1cd4c58a3d9f54f157aeca623", kill_on_drop: false }`
[INFO] [stdout] 7f18d2d5e4cf8aaf149d457259230724372bd4a1cd4c58a3d9f54f157aeca623
